{$CLEO .cs}
Alloc($PLAYER_ACTOR, 3)
Alloc($PLAYER_CHAR, 2)

nop 

:Noname_2
wait 1
if 
  Player.IsPlaying($PLAYER_CHAR)
goto_if_false @Noname_2
if 
  Char.IsInModel($PLAYER_ACTOR, 6561)
goto_if_false @Noname_483
0@ = Char.StoreCarIsInNoSave($PLAYER_ACTOR)
  not Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @Noname_69
goto @Noname_2

:Noname_69
1@ = Math.RandomFloatInRange(-2.0, 2.0)
2@ = Math.RandomFloatInRange(-2.0, 2.0)
3@, 4@, 5@ = Car.GetOffsetInWorldCoords(0@, 1@, 2000.0, 2@)
6@, 7@, 8@ = Car.GetOffsetInWorldCoords(0@, 0.74, 1.77, 0.19)
9@, 10@, 11@ = Car.GetOffsetInWorldCoords(0@, -0.74, 1.77, 0.19)
World.FireSingleBullet(6@, 7@, 8@, 3@, 4@, 5@, 250)
World.FireSingleBullet(9@, 10@, 11@, 3@, 4@, 5@, 250)
Audio.ReportMissionAudioEventAtChar($PLAYER_ACTOR, 1157)
18@ = Particle.CreateOnCarWithDirection("GUNFLASH", 0@, 0.81, 2.19, 0.24, 0.0, 1.0, 0.0, 1)
19@ = Particle.CreateOnCarWithDirection("GUNFLASH", 0@, -0.81, 2.19, 0.24, 0.0, 1.0, 0.0, 1)
20@ = Particle.CreateOnCarWithDirection("GUNSMOKE", 0@, 0.81, 2.19, 0.24, 0.0, 1.0, 0.0, 1)
21@ = Particle.CreateOnCarWithDirection("GUNSMOKE", 0@, -0.81, 2.19, 0.24, 0.0, 1.0, 0.0, 1)
Particle.Play(18@)
Particle.Play(19@)
Particle.Play(20@)
Particle.Play(21@)
Particle.PlayAndKill(18@)
Particle.PlayAndKill(19@)
Particle.PlayAndKill(20@)
Particle.PlayAndKill(21@)
goto @Noname_2

:Noname_483
if 
  Car.DoesExist(0@)
goto_if_false @Noname_2
Car.MarkAsNoLongerNeeded(0@)
goto @Noname_2
